package com.gyh.system.scheduler.entity;

import java.util.Date;

import com.gyh.system.common.persistence.BaseEntity;

/**
 * 定时任务实体类
 * @author gyh
 * 执行任务的记录日志
 */
public class ScheduleJobLog extends BaseEntity<ScheduleJobLog>{

	private static final long serialVersionUID = 1L;
	
	private Long jobId;			// 任务id
	private String beanName;			// bean名称
	private String methodName;			// 方法名
	private String params;				// 参数
	private Integer status;				// 任务状态    0：成功    1：失败
	private String error;				// 失败信息
	private Long times;				// 耗时(单位：毫秒)
	private Date createTime;			// 创建时间
	
	
	
	public Long getJobId() {
		return jobId;
	}
	public void setJobId(Long jobId) {
		this.jobId = jobId;
	}
	public String getBeanName() {
		return beanName;
	}
	public void setBeanName(String beanName) {
		this.beanName = beanName;
	}
	public String getMethodName() {
		return methodName;
	}
	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}
	public String getParams() {
		return params;
	}
	public void setParams(String params) {
		this.params = params;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getError() {
		return error;
	}
	public void setError(String error) {
		this.error = error;
	}
	public Long getTimes() {
		return times;
	}
	public void setTimes(Long times) {
		this.times = times;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

}
